package com.yitong.profile.dao.api;

import java.util.Map;

import com.yitong.base.domain.Page;
import com.yitong.profile.domain.User;

public interface UserMapper {
	
	public Page<?> listUserWithPage(Map<String, Object> param, int pageNum, int pageSize) throws Exception;
	
	public User showUserById(Map<String, Object> param) throws Exception;
	
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}